package com.example.demo.dao;

import com.example.demo.bean.User;

import java.util.List;
import java.util.Map;

public interface UserDao {

    User getUser(String userName);

    List<Map<String, Object>> getList(Map<String, Object> map);

    int  addUser(Map<String,Object> map);

    int delUserByid(int id);

    int updateUser(Map<String,Object> map);

    List< Map<String,Object>   > getAllUser();

    Map<String,Object> getRoleIdByUserId(int id );




}
